package com.cskaoyan.service;

import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.vo.WxCouponListInnerVO;
import com.cskaoyan.bean.vo.WxCouponSelectlistInnerVO;
import com.cskaoyan.bean.vo.WxMylistInnerVO;

/**
 * @author zhuqiushi
 * @since 2022/09/08 16:36
 */
public interface WxCouponService {
    CommonData<WxCouponListInnerVO> list(Integer page, Integer limit);

    CommonData<WxMylistInnerVO> mylist(Short status, Integer page, Integer limit, Integer userId);

    int receive(Integer userId, Integer couponId);

    CommonData<WxCouponSelectlistInnerVO> selectlist(Integer cartId, Integer grouponRulesId, Integer userId);

    int exchange(String code,Integer userId);
}
